import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {CommonModule} from '@angular/common';
import {FileUploadModule} from 'ng2-file-upload';
import {BusinessRoutingModule} from './business-routing.module';
import {NavbarComponent} from './navbar/navbar.component';
import {BusinessComponent} from './business.component';
import {LogicAdminComponent} from './logicAdmin/logicAdmin.component';
import {LogicAdminService} from './logicAdmin/logicAdmin.service';
import {PathAdminComponent} from './pathAdmin/pathAdmin.component';
import {AddUserComponent} from './addUser/addUser.component';
import {PathAdminService} from './pathAdmin/pathAdmin.service';
import {BaseComponent} from './common/base.component';
import {AlertComponent} from './elements/alert.component';
import {NavbarService} from './navbar/navbar.service';
import {PaginationComponent} from './elements/pagination.component';
import {AddUserService} from './addUser/addUser.service';
import {PathAddService} from './pathAdd/pathAdd.service';
import {LogicAddService} from './logicAdd/logicAdd.service';
import {PathAddComponent} from './pathAdd/pathAdd.component';
import {LogicAddComponent} from './logicAdd/logicAdd.component';
import {GetLogicComponent} from './getLogic/getLogic.component';
import {GetLogicService} from './getLogic/getLogic.service';
import {CustSelectComponent} from './elements/cust-select.component';
import {CompanyComponent} from './company/company.component';
import {CompanyService} from './company/company.service';
import {PlaceComponent} from './place/place.component';
import {AddPlaceService} from './place/place.service';
import {AddEventService} from './event/event.service';
import {EventComponent} from './event/event.component';
import {GetEventService} from './getEvent/getEvent.service';
import {GetEventComponent} from './getEvent/getEvent.component';
import {AppEditionService} from './appEdition/appEdition.service';
import {AppEditionComponent} from './appEdition/appEdition.component';
import {RobotListService} from './robotList/robotList.service';
import {RobotListComponent} from './robotList/roborList.component';
import {AddRoleService} from './addRole/addRole.service';
import {AddRoleComponent} from './addRole/addRole.component';

@NgModule({
  declarations: [
    BusinessComponent,
    NavbarComponent,
    LogicAdminComponent,
    AddUserComponent,
    PathAdminComponent,
    BaseComponent,
    AlertComponent,
    PaginationComponent,
    PathAddComponent,
    LogicAddComponent,
    GetLogicComponent,
    CustSelectComponent,
    CompanyComponent,
    PlaceComponent,
    EventComponent,
    GetEventComponent,
    AppEditionComponent,
    RobotListComponent,
    AddRoleComponent
  ],
  exports: [
    AlertComponent,
    BaseComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    CommonModule,
    FileUploadModule,
    BusinessRoutingModule
  ],
  providers: [
    PathAdminService,
    NavbarService,
    AddUserService,
    PathAddService,
    LogicAdminService,
    LogicAddService,
    GetLogicService,
    CompanyService,
    AddPlaceService,
    AddEventService,
    GetEventService,
    AppEditionService,
    RobotListService,
    AddRoleService
  ]
})
export class BusinessModule {
}
